#@layout()
#define main()
<div class="container">
    <div class="row">
        <div class="col-lg-8">
            <input type="button" onclick="createApp()" value="创建app" class="btn btn-primary"/>
            <input type="button" onclick="manageApp()" value="管理app" class="btn btn-primary"/>
        </div>
    </div>
</div>
#end

#define script()
<script>
    function createApp(){
        window.location.href="/app/addPage";
    }

    function manageApp() {
        window.location.href="/app/listPage";
    }
</script>
#end